window.onload = function () {
    $('<strong>Inserted before the target</strong>').insertBefore('#main-content');
    $('<strong>Inserted after the target</strong>').insertAfter('#main-content');
};